package spring.cloud.tasks.executor.executor.task.execute_statistics;

import spring.cloud.tasks.common.nodepaths.TaskNodePaths;

public final class ExecuteStatisticsNeedReportNode {
    public static final String NEED_REPORT_NODE = "need_report";

    public static boolean isReportPath(final String taskId, final String path) {
        return TaskNodePaths.getTaskNodePath(taskId, NEED_REPORT_NODE).equals(path);
    }
}
